<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>用户登录</title>
	<link rel="stylesheet" href="css/bootstrap.css"></link>
	<link rel="stylesheet" href="css/style.css"></link>
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/jquery.cookie.js"></script>
	<script type="text/javascript" src="js/jquery.easydropdown.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>

  </head>
  
  <body>
    <%@include file="common/head.jsp" %>
    
    		<div class="container">
	    <div class="register">
			   <div class="col-md-6 login-right">
			  	<h3>注册用户登陆</h3>
				<p>如果你已经有用户了, 请登陆</p>
				<p>如果没有账号，请<a href="regist.jsp">注册</a></p>
				<form action="login.action" method="post">
				  <div>
					<span>用户名</span>
					<input type="text" name="user.username" id="username" />
					<label style="color: red;">*</label>
				  </div>
				  <div>
					<span>密码</span>
					<input type="password" name="user.password" />
					<label style="color: red;">*</label>
				  </div>
				  <input type="submit" value="登陆">&nbsp;
				  <%--<a class="forgot" href="regist.jsp" >忘记密码?</a>
				  
			    --%></form>
			   </div>	
			   <div class="clearfix"> </div>
		</div>
	 </div>
	 <%@include file="common/footer.jsp"%>
	 <script>
	    var modifyHeight = function(){
	      if($(window).height()==$(document).height()){
	        $(".footer").addClass("navbar-fixed-bottom");
	      }
	      else{
	        $(".footer").removeClass("navbar-fixed-bottom");
	      }
	    }
		modifyHeight();
	 </script>
  </body>
</html>
